package com.aliyun.heiyu.powermaster.server.rbac.enums;

/**
 * @Description 公用的错误码
 * @Author shun.zhang
 * @Date 2020/3/31 17:09
 **/
public enum  CommonErrEnum {
    PARAM_ERROR(450,"参数不正确"),
    PARAM_NOT_RIGHT(451,"参数不合法");
    private Integer code;
    private String message;
    private CommonErrEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }

    public Integer getCode() {
        return code;
    }


    public String getMessage() {
        return message;
    }
}
